Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(helper/cookie): make default Path=/ for setCookie()/setSignedCookie() #1742

Merged
merged 3 commits into from
Nov 28, 2023

Conversation

yusukebe
Copy link
Member

@yusukebe yusukebe commented Nov 28, 2023

Close #1741

Author should do the followings, if applicable

  • Add tests
  • Run tests
  • yarn denoify to generate files for Deno

@yusukebe
Copy link
Member Author

Hi @usualoma

Can you review this?

@yusukebe
Copy link
Member Author

In this PR, I've rewrite some tests but, the behavior of setCookie()/setSignedCookie() is not changed for end-users.

@usualoma
Copy link
Member

@yusukebe

Yes, I believe this is the expected result of setCookie() / setSignedCookie() !

You should probably apply s/getCookie/setCookie/ to the title of this PR.

@yusukebe
Copy link
Member Author

You should probably apply s/getCookie/setCookie/ to the title of this PR.

Ah!

Thanks!

@yusukebe yusukebe changed the title fix(helper/cookie): make default Path=/ for getCookie()/setSignedCookie() fix(helper/cookie): make default Path=/ for setCookie()/setSignedCookie() Nov 28, 2023
@yusukebe yusukebe merged commit 7dc2155 into main Nov 28, 2023
11 checks passed
@yusukebe yusukebe deleted the fix/cookie-default-path branch November 28, 2023 08:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

setCookie does not set Path=/ in response header
2 participants